#ifndef PACKETSTRUCT_BG_H
#define PACKETSTRUCT_BG_H
#include "packetStruct.h"
#include "Protocol_BG.h"

#define MAX_LEN     (255)
#define MAX_BUFF    (2048)

struct MSG_BG_CHARINFO_CHAR_ITEM_SYN : public MSG_SERVER_BASE
{   
	MSG_BG_CHARINFO_CHAR_ITEM_SYN()
	{   
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_CHAR_ITEM_SYN;		
	}
	DWORD dwCharGUID;
	BYTE  bySelectedCharIndex;
};


struct MSG_BG_CHARINFO_CHAR_ITEM_CMD : public MSG_SERVER_BASE
{     
	MSG_BG_CHARINFO_CHAR_ITEM_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_CHAR_ITEM_CMD;		
    
	}
    BYTE buff[MAX_BUFF];
};

struct MSG_BG_CHARINFO_CHAR_ITEM_NAK : public MSG_SERVER_BASE
{
	BYTE  dwErrorCode;
	TCHAR strError[MAX_LEN];
};

struct MSG_BG_CHARINFO_SKILL_CMD : public MSG_SERVER_BASE
{
    MSG_BG_CHARINFO_SKILL_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_SKILL_CMD;	
	}
	BYTE buff[MAX_BUFF];
};

struct MSG_BG_CHARINFO_PASSIVE_SKILL_CMD : public MSG_SERVER_BASE
{  
	MSG_BG_CHARINFO_PASSIVE_SKILL_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_PASSIVE_SKILL_CMD;	
	}
    BYTE buff[MAX_BUFF];
};

struct MSG_BG_CHARINFO_QUICK_CMD : public MSG_SERVER_BASE
{
    MSG_BG_CHARINFO_QUICK_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_QUICK_CMD;	
	}
	BYTE buff[MAX_BUFF];

};

struct MSG_BG_CHARINFO_STYLE_CMD : public MSG_SERVER_BASE
{
	MSG_BG_CHARINFO_STYLE_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_STYLE_CMD;	
	}
	BYTE buff[MAX_BUFF];

};

struct MSG_BG_CHARINFO_QUEST_CMD : public MSG_SERVER_BASE
{
	MSG_BG_CHARINFO_QUEST_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_QUEST_CMD;	
	}
	BYTE buff[MAX_BUFF];

};

struct MSG_BG_CHARINFO_MISSION_CMD : public MSG_SERVER_BASE
{
	MSG_BG_CHARINFO_MISSION_CMD()
	{
		m_byCategory = BG_CHARINFO;	
		m_byProtocol = BG_CHARINFO_MISSION_CMD;	
	}
	BYTE buff[MAX_BUFF];

};

#endif


